package buchwald.martin;

public class NodoVacio implements Nodo{

	public boolean isEmpty() {
		return true;
	}

	public Nodo next() {
		throw new AssertionError();
	}

	public Object getData() {
		throw new AssertionError();
	}

	public int size() {
		return 0;
	}

	public Nodo add(Object data) {
		return new NodoLleno(data, this);
	}
	
}
